//个人信息菜单
$(".user").click(function (e) {

    $("#downMenu").stop().fadeToggle(250);
    e.stopPropagation();
});

$("body").click(function (e) {
    $("#downMenu").fadeOut(250);
    e.stopPropagation();
});

$(".logout").click(function () {
    load(document.body,10000);
    localStorage.clear();
    crossMessaeg("注销成功","success");
    setTimeout(function () {
        window.location.href="/";
    },2000);
});

$(".titleImg").click(function () {
    window.location.reload();
});



$("#editSelf").click(function () {
    var url = "/page/" + localStorage['role'] +"/editSelf";
    $("#body").load(url);

});

$("#changePassword").click(function () {
  dialog_show();
  $(".dialog").load("page/editPassword");
});